<cu-custom bind:runHelp="showHelp"  bgColor="bg-gradual-blue" isHelp="{{true}}"><view slot="helpText">遇到问题了</view><view slot="content">写给未来的信</view>
</cu-custom>
<ad unit-id="486eba507bd7b46275f6a2f595972d72" type="feeds"></ad>

<view bindtap="toDetail" data-index="{{index}}" wx:for="{{letterList}}" wx:key="{{index}}" style="margin-top:0rpx" class="cu-list menu-avatar solid-top">
  <view class="cu-item">
    <!-- <view class="cu-avatar round lg" style="background-image:url(https://ossweb-img.qq.com/images/lol/img/champion/Taric.png);">
        <view class="cu-tag badge">99+</view>
      </view> -->
    <view class="content" style="left:20rpx;width:100%">
      <view class="text-grey">
        <text class="text-cut" style="max-width:500rpx;">标题：{{item.title}}</text>
        <view class="cu-tag round bg-{{item.status==0?'blue':item.status==1?'green':item.status==2?'orange':'red'}} sm"
          >{{item.status==0?"未发送":item.status==1?"已发送":item.status==2?"发送失败":"已召回"}}</view
        >
      </view>

      <view class="text-gray text-sm flex">
        <view class="text-cut" style="max-width:600rpx;">正文：{{item.content}}</view>
      </view>

      <view class="text-gray">
        <text class="text-cut" style="max-width:500rpx;">收件邮箱：<text class="text-black">{{item.email}}</text></text>
      </view>
    </view>
    <view class="action">
      <view class="text-grey text-xs">{{item.agreed_date}}</view>
      <view class="text-gray text-xs">{{item.agreed_time}}</view>
    </view>
  </view>
</view>

<view class="cu-modal {{helpModal?'show':''}}" bindtap="hideHelp">
 <view class="cu-dialog menu card-menu margin-top-xl margin-bottom-xl shadow-lg radius cu-list" style="display:inline-block;
" catchtap>
  	<!-- <view class="cu-list menu card-menu margin-top-xl margin-bottom-xl shadow-lg radius" > -->
  	    <view class="cu-item arrow">
  	      <button class="cu-btn content" open-type="feedback">
  	        <text class="cuIcon-writefill text-cyan"></text>
  	        <text class="text-grey"> \t意见反馈</text>
  	      </button>
  	    </view>
		<view class="cu-item arrow">
		  <button class="cu-btn content" open-type="addFriend" open-id="4358A0E444D29C32CE6B6DC879139338">
		    <text class="cuIcon-creativefill text-green"></text>
		    <text class="text-grey"> \t联系开发者</text>
		  </button>
		</view>
  	<!-- </view> -->
  </view>


 
</view>

<view wx:if="{{total>10}}" class="cu-load bg-white {{page>=last_page?'over':'loading'}}"></view>
<image wx:if="{{showBox}}" style="width:100%;height:100vw" src="/images/K.png"></image>
